#!/usr/bin/env python
# encoding=utf-8

"""
          ""#                 #
  m   m     #     mmmmm    mmm#
   #m#      #        m"   #" "#
   m#m      #      m"     #   #
  m" "m     "mm   #mmmm   "#m
"""

import sys
from pymongo import MongoClient

reload(sys)
sys.setdefaultencoding('utf-8')

__author__ = 'xlzd'
DB = MongoClient('127.0.0.1', 27017)


def main():
    print DB['crawler_company_all'].last_status()
    # print DB['crawler_company_all'].collection_names()
    # print DB.database_names()
    # print DB.local_threshold_ms
    # print '\n'.join(dir(DB['crawler_company_all']))


if __name__ == '__main__':
    main()
